package com.lian.anlimall.ware.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品库存
 * 

 * @email HeJieLin@gulimall.com
 * @date 2021-04-22 19:55:33
 */
@Data
@TableName("wms_ware_sku")
public class WareSkuEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * sku_id
	 */
	private Long skuId;
	/**
	 * 仓库id
	 */
	private Long wareId;
	/**
	 * 库存数
	 */
	private Integer stock;
	/**
	 * sku_name
	 */
	private String skuName;
	/**
	 * 锁定库存
	 */
	private Integer stockLocked;

	private String skuImg;

	/**
	 * 进货价
	 */
	private BigDecimal costPrice;

	//最大预警值
	private Integer maxline;
	//最小预警值
	private Integer minline;

	@TableField(exist = false)
	private Integer warmingStatus;
}
